import request from '@/utils/request'

// 查询仓库破损单列表
export function getBrokenOrder(query) {
  return request({
    url: '/basic/warehouse/worn/order/',
    method: 'get',
    params: query
  })
}
// 新增仓库破损单
export function addBrokenOrder(data) {
  return request({
    url: '/basic/warehouse/worn/order/',
    method: 'post',
    data: data
  })
}
